package com.apcc4m.sfpushbatch.repository;

import java.util.Date;
import java.util.Set;

import org.springframework.data.annotation.Id;

public class Notification {

    @Id
    private String id;

    // 推送标题
    private String title;
    // 推送内容
    private String content;
    // 1:给所有用户 2:android 3:iOS 4:指定用户
    private Integer type;
    // 0:未推送 1:准备推送 2:已推送 3推送失败
    private Integer status;
    // type为4时用
    private Set<String> userSet;
    // 插入时间
    private Date insertDate;
    // 推送时间
    private Date pushDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Set<String> getUserSet() {
        return userSet;
    }

    public void setUserSet(Set<String> userSet) {
        this.userSet = userSet;
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }

    public Date getPushDate() {
        return pushDate;
    }

    public void setPushDate(Date pushDate) {
        this.pushDate = pushDate;
    }

}
